package com.xlh.service.courseTest;

import com.xlh.dto.courseTest.experiment.ExperimentChapterStatisticsTimeDTO;
import com.xlh.dto.courseTest.experiment.UserExperimentTimeInfoDTO;
import com.xlh.dto.user.UserInfoDTO;

import java.util.List;

/**
 * @author chufangzheng
 */
public interface ExperimentVideoStatisticsService {


    /**
     * 根据章节ID获取
     * @param experimentChapterId
     * @param userInfoDTOS
     * @return
     */
    ExperimentChapterStatisticsTimeDTO loadExperimentTime(Long experimentChapterId, List<UserInfoDTO> userInfoDTOS);


    /**
     * 查询学生的学习时长和视频时长
     * @param courseId
     * @param classId
     * @param userIds
     * @return
     */
    List<UserExperimentTimeInfoDTO> findLearnAndVideoTime(Long courseId, Long classId, List<Long> userIds, List<Long> taskIds );



}
